<div class="main-title clearfix">
	<h1>Module: Contacts</h1>
</div>
<div class="grid_16">
    <div class="admin-module-contacts form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'admin-module-contacts-form',
			'enableAjaxValidation' => false,
			'htmlOptions' => array()
		));
		?>
        <div class="section">
			<div class="block">
				<table class="form-table">
					<tr>
						<th scope="row" width="250" class="align-right">
							<label>Default Address Book (Salesperson Portal)</label>
						</th>
						<td>
							<?php
							echo CHtml::dropDownList("AgencySetting[Modules][Contacts][TopAchiever][DefaultAddressBook]", $agency->settings['Modules']['Contacts']['TopAchiever']['DefaultAddressBook'], array(
								'Personal' => 'Personal',
								'Agency' => 'Agency',
							));
							?>
						</td>
					</tr>
					<tr>
						<th scope="row" width="250" class="align-right">
							<label>Default Address Book (Agency Portal)</label>
						</th>
						<td>
							<?php
							echo CHtml::dropDownList("AgencySetting[Modules][Contacts][Prestige][DefaultAddressBook]", $agency->settings['Modules']['Contacts']['Prestige']['DefaultAddressBook'], array(
								'Personal' => 'Personal',
								'Agency' => 'Agency',
							));
							?>
						</td>
					</tr>
				</table>
			</div>
        </div>
		<table class="form-table">
			<th>
				<button type="submit" class="link-button green round_all no-margin">
					<span>Save Changes</span>
				</button>
			</th>
		</table>
		<?php $this->endWidget(); ?>
    </div>
</div>